#include <stdio.h>
#include <conio.h>
#include <iostream>


using namespace std;
int main()
{
 int a,b,i;
 int n=0;

 cout << "vvedite a: ";
 cin >> a;
 cout << "vvedite b: ";
 cin >> b;
 if(a<b)
 {
   for(i=a;i<=b;i++,n++)
     cout << i ;}
 cout << "\n" << n ;
 return(0);
}
